package src.zoo 
{

	public class Apple extends Food 
	{
		private static const DEFAULT_CALORIES: int = 100;
		
		public function Apple(initialCalories: int = 0) 
		{
			if (initialCalories <= 0)
			{
				initialCalories = DEFAULT_CALORIES;
			}
			super(initialCalories);
			
			setName("Яблоко");
		}
		
	}

}